import {
	request
} from "./request.js"

export const indexDAO = {
	getBanner() {
		// return request("/home/swiperdata2",{},"GGT")
		return JSON.parse(      "[{\n" +
           "            \t\t\t\t\t\t\"image_src\": \"https://api-hmugo-web.itheima.net/pyg/banner1.png\",\n" +
           "            \t\t\t\t\t\t\"open_type\": \"navigate\",\n" +
           "            \t\t\t\t\t\t\"id\": 129,\n" +
           "            \t\t\t\t\t\t\"navigator_url\": \"/pages/goods_detail/index?goods_id=129\"\n" +
           "            \t\t\t\t\t},\n" +
           "            \t\t\t\t\t{\n" +
           "            \t\t\t\t\t\t\"image_src\": \"https://api-hmugo-web.itheima.net/pyg/banner2.png\",\n" +
           "            \t\t\t\t\t\t\"open_type\": \"navigate\",\n" +
           "            \t\t\t\t\t\t\"id\": 129,\n" +
           "            \t\t\t\t\t\t\"navigator_url\": \"/pages/goods_detail/index?goods_id=129\"\n" +
           "            \t\t\t\t\t},\n" +
           "            \t\t\t\t\t{\n" +
           "            \t\t\t\t\t\t\"image_src\": \"https://api-hmugo-web.itheima.net/pyg/banner2.png\",\n" +
           "            \t\t\t\t\t\t\"open_type\": \"navigate\",\n" +
           "            \t\t\t\t\t\t\"id\": 129,\n" +
           "            \t\t\t\t\t\t\"navigator_url\": \"/pages/goods_detail/index?goods_id=129\"\n" +
           "            \t\t\t\t\t}\n" +
           "            \t\t\t\t]")
	},
	getNav() {
		// return request("/home/swiperdata2",{},"GGT")
		return JSON.parse( "[{\n" +
        "\t\t\t\t\t\t\"name\": \"查电价\",\n" +
        "\t\t\t\t\t\t\"image_src\": \"/static/images/common/icon_nav1.png\",\n" +
        "\t\t\t\t\t\t\"open_type\": \"switchTab\",\n" +
		"            \t\t\t\t\t\t\"id\": 129,\n" +
		
				"\t\t\t\t\t\t\"navigator_url\": \"/pages/electrovalency/electrovalency\"\n" +
        "\t\t\t\t\t},\n" +
        "\t\t\t\t\t{\n" +
        "\t\t\t\t\t\t\"name\": \"收益评估\",\n" +
        "\t\t\t\t\t\t\"image_src\": \"/static/images/common/icon_nav2.png\",\n" +
		"            \t\t\t\t\t\t\"id\": 1291,\n" +
		"\t\t\t\t\t\t\"navigator_url\": \"/pages/assess/assess\"\n" +
        "\t\t\t\t\t},\n" +
        "\t\t\t\t\t{\n" +
        "\t\t\t\t\t\t\"name\": \"成功案例\",\n" +
        "\t\t\t\t\t\t\"image_src\": \"/static/images/common/icon_nav3.png\",\n" +
		"            \t\t\t\t\t\t\"id\": 1292\n" +
        "\t\t\t\t\t},\n" +
        "\t\t\t\t\t{\n" +
        "\t\t\t\t\t\t\"name\": \"测算参数配置\",\n" +
        "\t\t\t\t\t\t\"image_src\": \"/static/images/common/icon_nav4.png\",\n" +
		"            \t\t\t\t\t\t\"id\": 1293\n" +
        "\t\t\t\t\t}\n" +
        "\t\t\t\t]	\n")
	}

}